CXXFLAGS=-Wall
LDFLAGS=`pkg-config --cflags --libs allegro-5.0 allegro_image-5.0 allegro_font-5.0 allegro_ttf-5.0 allegro_audio-5.0 allegro_acodec-5.0 allegro_dialog-5.0`
OBJ=sn_main.o menu.o gioco.o gestione_record.o

Roundsnake: $(OBJ)
	g++ -o Roundsnake $(OBJ) $(LDFLAGS)

-include dependencies

.PHONY: depend clean cleanall clean_rc

depend:
	g++ -MM *.cc > dependencies
clean:
	rm *.o
cleanall:
	rm Roundsnake *.o *~
clean_rc:
	echo 0 > l_record.txt
debug:
	 g++ -g -D DEBUG_MODE sn_main.cc gioco.cc menu.cc gestione_record.cc -o Roundsnake `pkg-config --libs allegro-5.0 allegro_image-5.0 allegro_font-5.0 allegro_ttf-5.0 allegro_audio-5.0 allegro_acodec-5.0 allegro_dialog-5.0`



